package com.hngy.xpq.android_practice.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class UserOrder {
    public static final String DATABASE_DATA = "db_xpq_user";
    public static final String DATABASE_TABLE = "xpq_user";
    public static final int DATABASE_INS = 1;

    public static final String NOTEPAD_ID = "user_xpq_id";          //用户id
    public static final String NOTEPAD_NAME = "user_xpq_name";      //用户名
    public static final String NOTEPAD_KEY = "user_xpq_key";        //用户密码
    public static final String NOTEPAD_PHONE = "user_xpq_phone";    //用户手机号码
    public static final String NOTEPAD_BORN = "user_xpq_born";      //用户出生年月份
    public static final String NOTEPAD_TIME = "user_xpq_time";      //用户注册日期

    public static final String getTimeDate(){
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");
        Date date = new Date(System.currentTimeMillis());
        return simpleDateFormat.format(date);
    };

}
